var express = require('express')
  , app = express()
  , site = require('./site')
  , post = require('./post')
  , user = require('./user')
  , util = require('./util');
var path = require('path');
var url = require('url');

console.log("http://localhost:3000/about.html".endsWith(".html"));
console.log("http://localhost:3000/about.html".endWith(".html"));

console.log(path.extname('index.html?name=lele'));

console.log(url.parse('index.html?name=lele'));